<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <title><tiles:insertAttribute name="title" ignore="true" /></title>
        <!--<link type="text/css" rel="stylesheet" href="css/style.css" media="screen" />-->
        <style>
            <%@ include file='css/style.css' %>
        </style>
    </head>
    <body>
        <div id="wrapper">
            <header id="header">
                <tiles:insertAttribute name="header" />
            </header>
            <aside id="left_side_bar" class="main_margin_top">
                <tiles:insertAttribute name="navigation" />
                <tiles:insertAttribute name="login" />
                <tiles:insertAttribute name="genres" />
            </aside>  
            <div id="container" class="main_margin_top"> 
                <tiles:insertAttribute name="search" />
                <% if (request.getAttribute("error") != null) {
                %>
                <section id="exception" class="main_block_color main_margin_top shadow">
                    <tiles:insertAttribute name="error" /> 
                </section><!--error-->
                <% }%>
                <section id="content" class="main_block_color main_margin_top shadow">
                    <tiles:insertAttribute name="content" /> 
                </section><!--content-->
            </div><!--container-->
        </div><!--wrapper-->
    </body>
</html>
